Fix Android INSTALL_PARSE_FAILED_NO_CERTIFICATES on .NET 10 - #184
Conversation
This commit resolves the 'Attempt to get length of null array' parser error during Android APK installation by: 1. Strengthening the 'FixRuntimePackAssetTypes' target in osu.Android.props to aggressively classify all non-managed assets as native. 2. Enabling 'android:extractNativeLibs="true"' in AndroidManifest.xml to ensure proper library handling on modern Android devices. 3. Updating the GitHub Release workflow to correctly locate the signed APK artifact in the root net10.0-android directory.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Fixed the Android installation failure
INSTALL_PARSE_FAILED_NO_CERTIFICATES: Attempt to get length of null array. This is a known .NET 10 regression where non-managed assets are incorrectly classified during the build process, leading to signature/manifest corruption.The fix involves:
osu.Android.propsto remove restrictive conditions in theFixRuntimePackAssetTypestarget, ensuring all native assets are correctly tagged.android:extractNativeLibs="true"in the manifest to satisfy stricter verification rules on modern Android APIs.PR created automatically by Jules for task 2501035082234153292 started by @winnerspiros